<script lang="ts">
import {darkTheme} from "naive-ui";
import MapManagement from "./components/MapManagement.vue";

export default {
    components: {MapManagement},
    setup(props, context) {
        return {
            darkTheme
        };
    }
}
</script>

<template>
    <n-config-provider :theme="darkTheme">
        <n-message-provider>
            <n-layout position="absolute">
                <n-card>
                    <template #header>
                        <n-page-header subtitle="让抽图更加便利">
                            <template #avatar>
                                <n-avatar src="../ra2.jpg"/>
                            </template>
                            <template #title>
                                <n-text strong>RA2比赛抽图工具</n-text>
                            </template>
                        </n-page-header>
                    </template>
                    <!--主组件-->
                    <MapManagement/>
                </n-card>
            </n-layout>
        </n-message-provider>
    </n-config-provider>
</template>

<style scoped>

</style>
